<template>
  <router-view name="layer" />
  <AcIndexLayer ref="acRef" v-if="mapInstance.value?.type === AC_NAME" />
</template>
<script lang="ts" setup>
import { inject, ref } from 'vue';
import AcIndexLayer from './ac-layer.vue';

const main = inject<any>('main');
const { mapInstance, AC_NAME, MARS3D_NAME }: any = main;

const acRef = ref(null);

</script>

<style lang="less" scoped>

</style>
